#!/bin/sh

echo "running $(realpath $0)"

mount -t debugfs none /sys/kernel/debug	2> /dev/null

mkdir -p /mnt/share
mount -t 9p mnt_comm /mnt/share			2> /dev/null
mkdir -p /mnt/arch
mount -t 9p mnt_arch /mnt/arch			2> /dev/null

if [ -x /mnt/share/init.sh ]; then
	sh /mnt/share/init.sh
fi

